/**  
 * Project Name:api-webhook  
 * File Name:FamilyMemberEntity.java  
 * Package Name:com.example.service.webhook.business.carrier.entity  
 * Date:2016年7月25日下午10:21:28  
 * Copyright (c) 2016, yuandong@51dojo.com All Rights Reserved.  
 *  
*/  
  
package com.example.service.webhook.business.insurance.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.example.service.webhook.repository.base.Saveable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 
 * ClassName: VehicleInsuranceDetailInfoEntity    
 * date: 2017年1月11日 下午10:15:54   
 * @author yuandong  
 * @version   
 * @since JDK 1.6
 */
@JsonIgnoreProperties(value = { "primaryVal", "keyColumns", "tableName" }, ignoreUnknown = true)
public class VehicleInsuranceDetailInfoEntity implements Saveable{
	private long id;
	private String userId;
    private String  policyNum;   // 保单号
    private String  insuranceCompany;  // 保险公司名称缩写
    private String  conditions;   // 承保险别
    private String insuranceAmount;  // 保险金额
    private BigDecimal insurancePremium; // 保费金额
    private BigDecimal premiumCoefficient; // 费率系数
    private BigDecimal premiumsPaid;  // 实缴保费
    private String     premiumFloatingReason; // 费率浮动事由

    private Date createTime;
    private Date lastModifyTime;
    
    
    private static final String[] keyColumns       = { "id" };
    private static final String   tableName        = "t_vehicle_insurance_detail";

    @Override
    public String getTableName() {
        return tableName;
    }

    @Override
    public String[] getKeyColumns() {
        return keyColumns;
    }
    
    @Override
    public String getPrimaryVal() {
        return String.valueOf(id);
    }

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getPolicyNum() {
		return policyNum;
	}

	public void setPolicyNum(String policyNum) {
		this.policyNum = policyNum;
	}

	public String getInsuranceCompany() {
		return insuranceCompany;
	}

	public void setInsuranceCompany(String insuranceCompany) {
		this.insuranceCompany = insuranceCompany;
	}

	public String getConditions() {
		return conditions;
	}

	public void setConditions(String conditions) {
		this.conditions = conditions;
	}

	public String getInsuranceAmount() {
		return insuranceAmount;
	}

	public void setInsuranceAmount(String insuranceAmount) {
		this.insuranceAmount = insuranceAmount;
	}

	public BigDecimal getInsurancePremium() {
		return insurancePremium;
	}

	public void setInsurancePremium(BigDecimal insurancePremium) {
		this.insurancePremium = insurancePremium;
	}

	public BigDecimal getPremiumCoefficient() {
		return premiumCoefficient;
	}

	public void setPremiumCoefficient(BigDecimal premiumCoefficient) {
		this.premiumCoefficient = premiumCoefficient;
	}

	public BigDecimal getPremiumsPaid() {
		return premiumsPaid;
	}

	public void setPremiumsPaid(BigDecimal premiumsPaid) {
		this.premiumsPaid = premiumsPaid;
	}

	public String getPremiumFloatingReason() {
		return premiumFloatingReason;
	}

	public void setPremiumFloatingReason(String premiumFloatingReason) {
		this.premiumFloatingReason = premiumFloatingReason;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

	
    
    
}
  
